#pragma once
#include "Object.h"
#include "Fysics/Renderer/VertexArray.h"
#include "Fysics/Renderer/ShaderProgram.h"

namespace Fysics
{
	class Line : public Object
	{
	private:
		VertexArray* m_VertexArray;
		ShaderProgram* m_ShaderProgram;
		glm::vec4 m_Color;
		unsigned int m_Width;
	public:
		Line(const std::initializer_list<glm::vec3>& points, const glm::vec4& color, unsigned int width);

		virtual ~Line();

		virtual void OnEvent(Event& event) override;

		virtual void Draw() const override;
	};
}